package com.cxx.rabbit.service;

import com.cxx.rabbit.domain.Order;

import java.util.List;

public interface OrderService {

    boolean saveOrder(Order order);

    boolean cancelOrder(Order order);

    boolean payOrder(Order order);

    List<Order> listOrders(Integer userId);

    Order getByOrderNo(String orderNo);

}
